import request from '@/utils/request'

// 查询项目团队成员列表
export function listDealTeamProcess(query) {
  return request({
    url: '/team/dealTeamProcess/list',
    method: 'get',
    params: query
  })
}

// 查询项目团队成员详细
export function getDealTeamProcess(id) {
  return request({
    url: '/team/dealTeamProcess/' + id,
    method: 'get'
  })
}

// 保存项目团队成员
export function saveDealTeamProcess(data) {
  return request({
    url: '/team/dealTeamProcess/save',
    method: 'post',
    data: data
  })
}

export function delDealTeamProcessDetails(id) {
  return request({
    url: '/team/dealTeamProcess/details/' + id,
    method: 'delete'
  })
}

// 删除项目团队成员
export function delDealTeamProcess(id) {
  return request({
    url: '/team/dealTeamProcess/' + id,
    method: 'delete'
  })
}
